package battleGame;

public class Tile extends AStarNode{

	
	String label;
	

	public Tile(int ID, String s,boolean e){
		
		id=ID;
		label = s;
		isEmpty = e;
		
		
	}
	
	public double getEstimatedCost(AStarNode node){
		//estimated cost is the distance
		return node.id-id;
		
	}
	
	public double getCost(AStarNode node){
		//cost is the same for now
		return 1;
	}
}
